module.exports = {
	//跨域
	devServer: {
		host: 'localhost', // 允许外部ip访问
		port: 8080, // 端口
		https: false, // 启用https
		proxy: {
			//主地址
			'/api': {
				target: 'http://api.zhuishushenqi.com',
				changeOrigin: true,
				secure: false,
				pathRewrite: {
					'^/api': ''
				}
			},
		}
	},
	//改路径
	publicPath: './',
	outputDir: 'dist',
	assetsDir: './',
	indexPath: 'index.html',
	filenameHashing: true,
	//改路径-end
}
